package nix.ssm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import nix.ssm.mapper.UserMapper;
import nix.ssm.pojo.User;
import nix.ssm.pojo.UserExample;
import nix.ssm.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Autowired
	private UserMapper userMapper;
	
	@Override
	public List<User> findList(UserExample example) {
		return userMapper.selectByExample(example);
	}

}
